package com.miyu.system.pojo.system;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import java.io.Serializable;
import lombok.Data;

/**
 * 通用字典数据表;
 * @author : miyu
 * @date : 2022-11-5
 */
@ApiModel(value = "通用字典数据表",description = "")
@Data
@Entity
@Table(name="sys_dict")
public class SysDict implements Serializable,Cloneable{
    /** 主键 */
    @Id
    @ApiModelProperty(name = "主键",notes = "")
    @Column(name = "dict_id", nullable = false, length =32 )
    private String dictId ;
    /** 编码 */
    @ApiModelProperty(name = "编码",notes = "")
    @Column(name = "dict_code", nullable = true, length =90 )
    private String dictCode ;
    /** 名称 */
    @ApiModelProperty(name = "名称",notes = "")
    @Column(name = "dict_name", nullable = true, length =90 )
    private String dictName ;
    /** 是否停用 */
    @ApiModelProperty(name = "是否停用",notes = "")
    @Column(name = "is_stop", nullable = true, length =1 )
    private String isStop = "0" ;
    /** 备注说明 */
    @ApiModelProperty(name = "备注说明",notes = "")
    @Column(name = "memo", nullable = true, length =100 )
    private String memo ;
}